$('.er').click(function(){
$('.xibufen2').css('display','block');
$('.xiabufen').css('display','none');
$('.yi').css('color','#959595');
$('.er3').css('color','#f60')

})

$('.yi').click(function(){
        $('.xibufen2').css('display','none');
    $('.xiabufen').css('display','block');
    $('.yi').css('color','#f60');
        $('.er3').css('color','#666')

})

$('.button23').click(function(){
    $('.input23').val('');
})



$().ready(function () {

    $(".form5").validate({
      rules: {
        username: {
          required: true,
          minlength: 2,
        },
        pwd: {
          required: true,
          minlength: 5,
        },
      },
      messages: {
        username: {
          required: "请输入用户名",
          minlength: "用户名必需由两个字符组成",
        },
        pwd: {
          required: "请输入密码",
          minlength: "密码长度不能小于 5 个字符",
        },
      },
  
    });
  });